:root {
--ph-glass: rgba(20, 18, 38, 0.72);
--ph-glass-strong: rgba(14, 12, 28, 0.92);
--ph-line: rgba(255, 255, 255, 0.08);
--ph-line-soft: rgba(255, 255, 255, 0.05);
--ph-pink: #ff2e74;
--ph-pink-soft: #ff6b9d;
--ph-blue: #2f9bff;
--ph-green: #35d07f;
--ph-gold: #ffce45;
--ph-me: linear-gradient(135deg, #ff2e74, #ff5e9a);
--ph-her: rgba(255, 255, 255, 0.09);
}
#phone-fab.hidden { display: none; }
#phone-toast-layer {
position: fixed; top: 14px; left: 0; right: 0;
z-index: 10075; display: flex; flex-direction: column;
align-items: center; gap: 8px; pointer-events: none;
}
.ph-toast {
pointer-events: auto;
max-width: 340px; width: calc(100% - 28px);
display: flex; align-items: center; gap: 10px;
padding: 10px 12px;
background: var(--ph-glass-strong);
backdrop-filter: blur(14px);
border: 1px solid var(--ph-line);
border-radius: 16px;
box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
transform: translateY(-140%);
animation: phToastIn 0.35s cubic-bezier(.2,.9,.3,1.2) forwards;
cursor: pointer;
}
.ph-toast.ph-out { animation: phToastOut 0.3s ease forwards; }
@keyframes phToastIn { to { transform: translateY(0); } }
@keyframes phToastOut { to { transform: translateY(-160%); opacity: 0; } }
.ph-toast__avatar {
width: 40px; height: 40px; border-radius: 12px; flex-shrink: 0;
background-size: cover; background-position: center top;
background-color: #2a2740;
display: flex; align-items: center; justify-content: center;
font-size: 20px;
}
.ph-toast__body { min-width: 0; flex: 1; }
.ph-toast__title { font: 700 13px system-ui, sans-serif; color: #fff; display: flex; justify-content: space-between; }
.ph-toast__title .ph-toast__tag { color: var(--ph-pink-soft); font-weight: 600; font-size: 11px; }
.ph-toast__text { font: 400 12px system-ui, sans-serif; color: #c9c4e0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
#phone-overlay {
position: fixed; inset: 0; z-index: 10050;
display: flex; align-items: center; justify-content: center;
background: radial-gradient(120% 120% at 50% 0%, rgba(40, 10, 40, 0.55), rgba(0, 0, 0, 0.82));
backdrop-filter: blur(6px);
opacity: 0; pointer-events: none;
transition: opacity 0.22s ease;
}
#phone-overlay.open { opacity: 1; pointer-events: auto; }
#phone-overlay.hidden { display: none; }
.ph-device {
position: relative;
width: min(390px, 94vw);
height: min(800px, 92vh);
background: linear-gradient(160deg, #0e0c1a 0%, #14101f 60%, #1a1226 100%);
border-radius: 42px;
padding: 12px;
box-shadow: 0 40px 90px rgba(0, 0, 0, 0.7),
inset 0 0 0 2px rgba(255, 255, 255, 0.06),
inset 0 0 0 8px #05040a;
transform: translateY(24px) scale(0.97);
transition: transform 0.3s cubic-bezier(.2,.9,.3,1.1);
}
#phone-overlay.open .ph-device { transform: translateY(0) scale(1); }
.ph-screen {
position: relative;
width: 100%; height: 100%;
border-radius: 32px;
overflow: hidden;
background:
radial-gradient(90% 60% at 20% -10%, rgba(255, 46, 116, 0.18), transparent 60%),
radial-gradient(90% 60% at 100% 0%, rgba(47, 155, 255, 0.16), transparent 55%),
linear-gradient(180deg, #16121f, #0d0a15);
display: flex; flex-direction: column;
}
.ph-notch {
position: absolute; top: 0; left: 50%; transform: translateX(-50%);
width: 140px; height: 26px;
background: #05040a; border-radius: 0 0 16px 16px; z-index: 30;
}
.ph-notch::after {
content: ''; position: absolute; right: 26px; top: 9px;
width: 8px; height: 8px; border-radius: 50%;
background: radial-gradient(circle at 35% 35%, #3a5, #063 70%);
box-shadow: -18px 0 0 -2px #1a1a2a;
}
.ph-statusbar {
height: 40px; flex-shrink: 0;
display: flex; align-items: center; justify-content: space-between;
padding: 0 22px; padding-top: 4px;
font: 600 13px system-ui, sans-serif; color: #fff; z-index: 20;
}
.ph-statusbar .ph-sb-right { display: flex; align-items: center; gap: 6px; letter-spacing: 1px; }
.ph-home-indicator {
position: absolute; bottom: 7px; left: 50%; transform: translateX(-50%);
width: 128px; height: 5px; border-radius: 3px;
background: rgba(255, 255, 255, 0.35); z-index: 40; cursor: pointer;
}
.ph-close-x {
position: absolute; top: 46px; right: 16px; z-index: 45;
width: 30px; height: 30px; border-radius: 50%;
border: none; cursor: pointer;
background: rgba(255, 255, 255, 0.09); color: #fff;
font-size: 16px; line-height: 30px; text-align: center;
display: none;
}
.ph-view--app .ph-close-x { display: none; }
.ph-body { flex: 1; position: relative; overflow: hidden; }
.ph-view {
position: absolute; inset: 0;
display: none; flex-direction: column;
background:
radial-gradient(90% 55% at 15% -8%, rgba(255, 46, 116, 0.12), transparent 60%),
radial-gradient(90% 55% at 100% 0%, rgba(47, 155, 255, 0.10), transparent 55%),
linear-gradient(180deg, #16121f 0%, #0d0a15 100%);
}
#ph-view-home { background: transparent; }
.ph-view.active { display: flex; animation: phViewIn 0.26s cubic-bezier(.3,.8,.3,1); }
@keyframes phViewIn {
from { transform: translateX(12%); opacity: 0; }
to   { transform: none; opacity: 1; }
}
#ph-view-home.active { animation: phHomeIn 0.22s ease; }
@keyframes phHomeIn { from { opacity: 0; } to { opacity: 1; } }
.ph-home-top { padding: 10px 20px 4px; }
.ph-home-clock { font: 200 58px system-ui, sans-serif; color: #fff; letter-spacing: 1px; line-height: 1; }
.ph-home-date { font: 500 14px system-ui, sans-serif; color: rgba(255,255,255,0.7); margin-top: 2px; }
.ph-home-grid {
flex: 1; align-content: start;
display: grid; grid-template-columns: repeat(4, 1fr);
gap: 18px 6px; padding: 26px 18px;
}
.ph-app-icon {
display: flex; flex-direction: column; align-items: center; gap: 6px;
cursor: pointer; border: none; background: none; padding: 0;
-webkit-tap-highlight-color: transparent;
}
.ph-app-icon__badge-host { position: relative; }
.ph-app-icon__tile {
width: 60px; height: 60px; border-radius: 16px;
display: flex; align-items: center; justify-content: center;
font-size: 30px;
box-shadow: 0 6px 14px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255,255,255,0.18);
transition: transform 0.14s ease;
}
.ph-app-icon:active .ph-app-icon__tile { transform: scale(0.9); }
.ph-app-icon__label { font: 500 12px system-ui, sans-serif; color: rgba(255,255,255,0.9); text-shadow: 0 1px 2px rgba(0,0,0,0.5); }
.ph-app-icon__count {
position: absolute; top: -6px; right: -6px;
min-width: 20px; height: 20px; padding: 0 5px;
border-radius: 10px; background: var(--ph-pink); color: #fff;
font: 700 11px/20px system-ui, sans-serif; text-align: center;
border: 2px solid #0d0a15; display: none;
}
.ph-app-icon__count.show { display: block; }
.ph-tile--msg { background: linear-gradient(160deg, #ff2e74, #b3164d); }
.ph-tile--conq { background: linear-gradient(160deg, #b76bff, #6a2ec7); }
.ph-tile--mission { background: linear-gradient(160deg, #2f9bff, #1361c8); }
.ph-tile--ach { background: linear-gradient(160deg, #ffce45, #e39400); }
.ph-tile--stats { background: linear-gradient(160deg, #35d07f, #148a53); }
.ph-tile--taxi { background: linear-gradient(160deg, #ffd23f, #e08a00); }
.ph-appbar {
flex-shrink: 0; height: 52px;
display: flex; align-items: center; gap: 8px;
padding: 0 12px;
background: var(--ph-glass-strong);
backdrop-filter: blur(14px);
border-bottom: 1px solid var(--ph-line);
}
.ph-back {
border: none; background: none; cursor: pointer; color: var(--ph-blue);
font: 600 15px system-ui, sans-serif; display: flex; align-items: center; gap: 2px;
padding: 6px 4px; -webkit-tap-highlight-color: transparent;
}
.ph-back svg { width: 20px; height: 20px; }
.ph-appbar__title { font: 700 17px system-ui, sans-serif; color: #fff; flex: 1; }
.ph-appbar__title small { display: block; font: 400 11px system-ui, sans-serif; color: rgba(255,255,255,0.55); }
.ph-scroll { flex: 1; overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch; }
.ph-scroll::-webkit-scrollbar { width: 0; }
.ph-conv {
display: flex; align-items: center; gap: 12px;
padding: 12px 14px; cursor: pointer;
border-bottom: 1px solid var(--ph-line-soft);
transition: background 0.12s;
}
.ph-conv:active { background: rgba(255,255,255,0.05); }
.ph-avatar {
width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0;
background-size: cover; background-position: center top; background-color: #2a2740;
display: flex; align-items: center; justify-content: center; font-size: 24px;
position: relative;
box-shadow: inset 0 0 0 2px rgba(255,255,255,0.08);
}
.ph-avatar__dot {
position: absolute; top: -2px; right: -2px; width: 15px; height: 15px;
border-radius: 50%; background: var(--ph-pink); border: 2px solid #0d0a15; display: none;
}
.ph-conv.unread .ph-avatar__dot { display: block; }
.ph-conv__body { flex: 1; min-width: 0; }
.ph-conv__row { display: flex; justify-content: space-between; align-items: baseline; }
.ph-conv__name { font: 700 15px system-ui, sans-serif; color: #fff; }
.ph-conv__time { font: 400 12px system-ui, sans-serif; color: rgba(255,255,255,0.4); }
.ph-conv__preview { font: 400 13px system-ui, sans-serif; color: rgba(255,255,255,0.55); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
.ph-conv.unread .ph-conv__preview { color: rgba(255,255,255,0.9); font-weight: 500; }
.ph-conv__role { display: inline-block; font: 600 10px system-ui, sans-serif; color: var(--ph-pink-soft); text-transform: uppercase; letter-spacing: 0.5px; }
.ph-conv__heat { margin-left: 6px; }
.ph-chat-head { display: flex; align-items: center; gap: 10px; flex: 1; }
.ph-chat-head .ph-avatar { width: 36px; height: 36px; font-size: 18px; }
.ph-chat-head__info { line-height: 1.15; }
.ph-chat-head__name { font: 700 15px system-ui, sans-serif; color: #fff; }
.ph-chat-head__status { font: 400 11px system-ui, sans-serif; color: var(--ph-green); }
.ph-thread {
flex: 1; overflow-y: auto; padding: 14px 12px 6px;
display: flex; flex-direction: column; gap: 8px;
}
.ph-thread::-webkit-scrollbar { width: 0; }
.ph-day-sep { text-align: center; font: 600 11px system-ui, sans-serif; color: rgba(255,255,255,0.4); margin: 8px 0; }
.ph-bubble {
max-width: 78%; padding: 9px 13px; border-radius: 18px;
font: 400 14.5px system-ui, sans-serif; line-height: 1.35;
word-wrap: break-word; animation: phBubbleIn 0.22s ease;
position: relative;
}
@keyframes phBubbleIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.ph-bubble--her {
align-self: flex-start; background: var(--ph-her); color: #f2eefc;
border-bottom-left-radius: 5px;
}
.ph-bubble--me {
align-self: flex-end; background: var(--ph-me); color: #fff;
border-bottom-right-radius: 5px;
}
.ph-bubble__time { display: block; font-size: 10px; opacity: 0.55; margin-top: 3px; text-align: right; }
.ph-bubble--photo { padding: 5px; max-width: 76%; }
.ph-photo {
display: block; width: 100%; max-height: 260px; object-fit: cover;
border-radius: 13px; cursor: zoom-in; background: rgba(0,0,0,0.35);
}
.ph-photo__cap { font-size: 12.5px; line-height: 1.35; padding: 6px 7px 2px; }
.ph-lightbox {
position: absolute; inset: 0; z-index: 60; display: flex;
align-items: center; justify-content: center; padding: 18px;
background: rgba(0, 0, 0, 0.9); cursor: zoom-out;
animation: phFade 0.18s ease;
}
.ph-lightbox img { max-width: 100%; max-height: 100%; border-radius: 8px; }
.ph-lightbox__close {
position: absolute; top: 12px; right: 12px; width: 34px; height: 34px;
border: none; border-radius: 50%; cursor: pointer; font-size: 15px;
color: #fff; background: rgba(255, 255, 255, 0.16);
}
@keyframes phFade { from { opacity: 0; } to { opacity: 1; } }
.ph-typing { align-self: flex-start; display: flex; gap: 4px; padding: 12px 15px; background: var(--ph-her); border-radius: 18px; border-bottom-left-radius: 5px; }
.ph-typing span { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,0.6); animation: phTyp 1s infinite; }
.ph-typing span:nth-child(2) { animation-delay: 0.15s; }
.ph-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes phTyp { 0%,60%,100% { transform: translateY(0); opacity: 0.4; } 30% { transform: translateY(-4px); opacity: 1; } }
.ph-composer {
flex-shrink: 0; padding: 8px 10px 12px;
border-top: 1px solid var(--ph-line);
background: var(--ph-glass-strong);
}
.ph-quick { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 8px; }
.ph-quick::-webkit-scrollbar { height: 0; }
.ph-quick__chip {
flex-shrink: 0; border: 1px solid var(--ph-line); background: rgba(255,255,255,0.06);
color: #f0ecff; border-radius: 16px; padding: 7px 13px; cursor: pointer;
font: 500 13px system-ui, sans-serif; white-space: nowrap; -webkit-tap-highlight-color: transparent;
}
.ph-quick__chip:active { background: rgba(255,255,255,0.14); }
.ph-invite-btn {
width: 100%; border: none; cursor: pointer; border-radius: 16px;
padding: 13px; font: 700 15px system-ui, sans-serif; color: #fff;
background: linear-gradient(135deg, #ff2e74, #ff007f);
box-shadow: 0 6px 18px rgba(255, 0, 127, 0.4);
display: flex; align-items: center; justify-content: center; gap: 8px;
animation: phInvitePulse 1.8s ease-in-out infinite;
}
@keyframes phInvitePulse { 0%,100% { box-shadow: 0 6px 18px rgba(255,0,127,0.4); } 50% { box-shadow: 0 6px 26px rgba(255,0,127,0.75); } }
.ph-invite-btn:active { transform: scale(0.98); }
.ph-locked-note {
text-align: center; font: 500 12px system-ui, sans-serif; color: rgba(255,255,255,0.45);
padding: 6px; display: flex; align-items: center; justify-content: center; gap: 6px;
}
.ph-empty {
flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
text-align: center; padding: 40px 30px; color: rgba(255,255,255,0.55); gap: 10px;
}
.ph-empty__icon { font-size: 46px; opacity: 0.8; }
.ph-empty__title { font: 700 16px system-ui, sans-serif; color: #fff; }
.ph-empty__text { font: 400 13.5px system-ui, sans-serif; line-height: 1.5; }
.ph-conq-hero {
margin: 12px; padding: 16px; border-radius: 20px;
background: linear-gradient(150deg, rgba(183,107,255,0.25), rgba(106,46,199,0.12));
border: 1px solid rgba(183,107,255,0.3);
display: flex; align-items: center; gap: 16px;
}
.ph-conq-hero__num { font: 800 40px system-ui, sans-serif; color: #fff; line-height: 1; }
.ph-conq-hero__lbl { font: 500 13px system-ui, sans-serif; color: rgba(255,255,255,0.7); }
.ph-conq-card {
display: flex; align-items: center; gap: 12px; margin: 0 12px 10px;
padding: 12px; border-radius: 16px; background: rgba(255,255,255,0.04);
border: 1px solid var(--ph-line-soft);
}
.ph-conq-card .ph-avatar { width: 48px; height: 48px; }
.ph-conq-card__name { font: 700 15px system-ui, sans-serif; color: #fff; }
.ph-conq-card__meta { font: 400 12px system-ui, sans-serif; color: rgba(255,255,255,0.55); margin-top: 2px; }
.ph-conq-card__count {
margin-left: auto; text-align: center; padding: 6px 10px; border-radius: 12px;
background: rgba(255,46,116,0.18); color: var(--ph-pink-soft); font: 700 13px system-ui, sans-serif;
}
.ph-conq-card__count small { display: block; font-weight: 500; font-size: 9px; color: rgba(255,255,255,0.5); }
.ph-seg { display: flex; gap: 6px; padding: 10px 12px; }
.ph-seg__btn {
flex: 1; border: 1px solid var(--ph-line); background: rgba(255,255,255,0.04);
color: rgba(255,255,255,0.6); border-radius: 12px; padding: 8px; cursor: pointer;
font: 600 13px system-ui, sans-serif;
}
.ph-seg__btn.active { background: var(--ph-blue); color: #fff; border-color: transparent; }
.ph-mission {
display: flex; align-items: center; gap: 12px; margin: 0 12px 10px;
padding: 13px; border-radius: 16px; background: rgba(255,255,255,0.04);
border: 1px solid var(--ph-line-soft);
}
.ph-mission.done { opacity: 0.7; }
.ph-mission__icon {
width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
display: flex; align-items: center; justify-content: center; font-size: 22px;
background: rgba(47,155,255,0.16);
}
.ph-mission.done .ph-mission__icon { background: rgba(53,208,127,0.18); }
.ph-mission__body { flex: 1; min-width: 0; }
.ph-mission__title { font: 700 14.5px system-ui, sans-serif; color: #fff; display: flex; align-items: center; gap: 6px; }
.ph-mission__desc { font: 400 12.5px system-ui, sans-serif; color: rgba(255,255,255,0.55); margin-top: 2px; line-height: 1.4; }
.ph-mission__reward { font: 600 11px system-ui, sans-serif; color: var(--ph-gold); margin-top: 5px; }
.ph-progress { height: 6px; border-radius: 3px; background: rgba(255,255,255,0.1); margin-top: 7px; overflow: hidden; }
.ph-progress__fill { height: 100%; border-radius: 3px; background: linear-gradient(90deg, #2f9bff, #35d07f); transition: width 0.4s ease; }
.ph-mission__check {
width: 26px; height: 26px; flex-shrink: 0; border-radius: 50%;
display: flex; align-items: center; justify-content: center; font-size: 15px;
}
.ph-mission.done .ph-mission__check { background: var(--ph-green); color: #fff; }
.ph-mission:not(.done) .ph-mission__check { border: 2px solid rgba(255,255,255,0.2); }
.ph-ach-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 12px; }
.ph-ach {
aspect-ratio: 1; border-radius: 16px; padding: 8px;
display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
text-align: center; background: rgba(255,255,255,0.04); border: 1px solid var(--ph-line-soft);
position: relative;
}
.ph-ach.locked { opacity: 0.4; filter: grayscale(0.8); }
.ph-ach.unlocked { background: linear-gradient(160deg, rgba(255,206,69,0.18), rgba(227,148,0,0.06)); border-color: rgba(255,206,69,0.35); }
.ph-ach__medal { font-size: 30px; }
.ph-ach__name { font: 600 10.5px system-ui, sans-serif; color: #fff; line-height: 1.2; }
.ph-ach.unlocked::after { content: '★'; position: absolute; top: 5px; right: 7px; color: var(--ph-gold); font-size: 12px; }
.ph-stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 14px; }
.ph-stat {
padding: 14px; border-radius: 16px; background: rgba(255,255,255,0.04);
border: 1px solid var(--ph-line-soft);
}
.ph-stat__num { font: 800 30px system-ui, sans-serif; color: #fff; line-height: 1; }
.ph-stat__num small { font-size: 14px; color: rgba(255,255,255,0.5); font-weight: 600; }
.ph-stat__lbl { font: 500 12px system-ui, sans-serif; color: rgba(255,255,255,0.6); margin-top: 6px; display: flex; align-items: center; gap: 5px; }
.ph-stat--wide { grid-column: 1 / -1; }
.ph-stat-bar-row { display: flex; justify-content: space-between; font: 500 12px system-ui, sans-serif; color: rgba(255,255,255,0.7); margin-bottom: 5px; }
.ph-section-title { font: 700 13px system-ui, sans-serif; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 1px; padding: 14px 16px 6px; }
@media (max-height: 680px) {
.ph-home-clock { font-size: 44px; }
.ph-home-grid { padding: 16px; gap: 14px 6px; }
}
.ph-chat-head__status--here {
color: var(--ph-gold);
animation: phHerePulse 1.8s ease-in-out infinite;
}
@keyframes phHerePulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.55; } }
.ph-bubble--here {
background: rgba(255, 206, 69, 0.14);
border: 1px solid rgba(255, 206, 69, 0.35);
color: #ffeab5;
}
.ph-bubble--here::before {
content: '📍';
position: absolute; top: -8px; left: -6px;
font-size: 13px;
filter: drop-shadow(0 1px 2px rgba(0,0,0,0.6));
}
.ph-here-banner {
align-self: center; text-align: center;
margin: 8px 4px 2px; padding: 7px 12px;
border-radius: 10px;
font: 500 11.5px system-ui, sans-serif; line-height: 1.35;
color: #ffeab5;
background: rgba(255, 206, 69, 0.1);
border: 1px dashed rgba(255, 206, 69, 0.4);
animation: phBubbleIn 0.25s ease;
}
.ph-locked-note--here {
color: #ffeab5;
background: rgba(255, 206, 69, 0.08);
border-top: 1px dashed rgba(255, 206, 69, 0.3);
line-height: 1.35;
}
.ph-plans__head {
font: 700 12px system-ui, sans-serif; letter-spacing: 0.4px;
color: var(--ph-gold); margin: 2px 2px 8px;
}
.ph-plan {
display: flex; align-items: center; gap: 10px;
padding: 9px 11px; margin-bottom: 7px;
border-radius: 12px;
background: rgba(255, 255, 255, 0.05);
border: 1px solid var(--ph-line);
}
.ph-plan--due   { border-color: rgba(255, 206, 69, 0.45); }
.ph-plan--ready {
border-color: rgba(53, 208, 127, 0.6);
background: rgba(53, 208, 127, 0.1);
}
.ph-plan__icon { font-size: 19px; flex-shrink: 0; }
.ph-plan__body { flex: 1; min-width: 0; }
.ph-plan__title { font: 600 13px system-ui, sans-serif; color: #f2eefc; }
.ph-plan__who   { font: 400 11px system-ui, sans-serif; color: rgba(255,255,255,0.5); margin-top: 1px; }
.ph-plan__state { font: 500 11px system-ui, sans-serif; color: var(--ph-gold); margin-top: 3px; }
.ph-plan--ready .ph-plan__state { color: var(--ph-green); }
.ph-plan__due {
flex-shrink: 0; align-self: flex-start;
padding: 2px 7px; border-radius: 7px;
font: 700 9px system-ui, sans-serif; letter-spacing: 0.5px;
color: #241d00; background: var(--ph-gold);
}
.ph-plans__sep {
height: 1px; background: var(--ph-line);
margin: 4px 2px 12px;
}
.ph-taxi__head {
position: relative;
padding: 12px 14px 10px;
border-bottom: 1px solid var(--ph-line);
}
.ph-taxi__brand {
display: flex; align-items: center; gap: 7px;
font: 800 15px system-ui, sans-serif; color: #fff;
letter-spacing: 0.2px;
}
.ph-taxi__logo {
width: 26px; height: 26px; flex-shrink: 0;
display: flex; align-items: center; justify-content: center;
font-size: 15px; border-radius: 9px;
background: linear-gradient(160deg, #ffd23f, #e08a00);
box-shadow: 0 3px 10px rgba(224, 138, 0, 0.35);
}
.ph-taxi__ask {
font: 400 11.5px system-ui, sans-serif;
color: rgba(255, 255, 255, 0.5); margin-top: 3px;
}
.ph-taxi__now {
position: absolute; top: 13px; right: 14px;
padding: 3px 9px; border-radius: 999px;
font: 600 10.5px system-ui, sans-serif; color: #f2eefc;
background: rgba(255, 255, 255, 0.07);
border: 1px solid var(--ph-line);
}
.ph-taxi__plan {
position: relative;
margin: 10px 12px 4px;
border-radius: 16px; overflow: hidden;
border: 1px solid var(--ph-line);
background: #10162a;
}
.ph-taxi__svg { display: block; width: 100%; height: auto; }
.ph-plan__bg { fill: #121a30; }
.ph-plan__road-out {
fill: none; stroke: #0b1122; stroke-width: 5.4;
stroke-linecap: round; stroke-linejoin: round;
}
.ph-plan__road-in {
fill: none; stroke: #22314f; stroke-width: 3.2;
stroke-linecap: round; stroke-linejoin: round;
}
.ph-plan__door {
stroke: rgba(255, 255, 255, 0.26);
stroke-width: 0.9; stroke-dasharray: 2.4 2.2; stroke-linecap: round;
}
.ph-plan__label {
fill: rgba(255, 255, 255, 0.62);
font: 600 3.4px system-ui, sans-serif;
text-anchor: middle; pointer-events: none;
paint-order: stroke; stroke: rgba(8, 12, 24, 0.85); stroke-width: 0.9;
}
.ph-pin.is-here .ph-plan__label { fill: #ffd6e4; }
.ph-pin.is-shut .ph-plan__label { fill: rgba(255, 255, 255, 0.32); }
.ph-pin { cursor: pointer; }
.ph-pin__hit { fill: transparent; }
.ph-pin__dot {
stroke: #0b1122; stroke-width: 1.2;
transition: r 0.15s ease;
}
.ph-pin.is-open  .ph-pin__dot { fill: var(--ph-green); }
.ph-pin.is-shut  .ph-pin__dot { fill: #4d5570; }
.ph-pin.is-here  .ph-pin__dot { fill: var(--ph-pink); }
.ph-pin__hole { fill: #101728; pointer-events: none; }
.ph-pin.is-here .ph-pin__hole { fill: #3d0d22; }
.ph-pin.is-shut  { cursor: default; }
.ph-pin:not(.is-here):active .ph-pin__dot { r: 5.6; }
.ph-pin__halo {
fill: rgba(255, 46, 116, 0.18);
stroke: rgba(255, 46, 116, 0.45); stroke-width: 0.7;
animation: phPinPulse 2.2s ease-in-out infinite;
transform-box: fill-box; transform-origin: center;
}
@keyframes phPinPulse {
0%, 100% { opacity: 0.45; transform: scale(0.86); }
50%      { opacity: 1;    transform: scale(1.06); }
}
.ph-plan__legend {
display: flex; gap: 12px; justify-content: center;
padding: 7px 8px 8px;
background: rgba(0, 0, 0, 0.28);
border-top: 1px solid var(--ph-line-soft);
}
.ph-plan__legend span {
display: flex; align-items: center; gap: 5px;
font: 500 10px system-ui, sans-serif; color: rgba(255, 255, 255, 0.55);
}
.ph-dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }
.ph-dot.is-open { background: var(--ph-green); }
.ph-dot.is-shut { background: #4d5570; }
.ph-dot.is-here { background: var(--ph-pink); }
.ph-taxi__sum {
display: flex; gap: 10px;
padding: 8px 16px 2px;
font: 600 10.5px system-ui, sans-serif;
}
.ph-taxi__sum-ok   { color: var(--ph-green); }
.ph-taxi__sum-shut { color: rgba(255, 255, 255, 0.4); }
.ph-taxi__list { padding: 8px 12px 16px; display: flex; flex-direction: column; gap: 8px; }
.ph-dest {
display: flex; align-items: center; gap: 11px;
width: 100%; text-align: left;
padding: 8px; border-radius: 14px;
background: rgba(255, 255, 255, 0.05);
border: 1px solid var(--ph-line);
color: inherit; font: inherit; cursor: pointer;
transition: transform 0.12s ease, background 0.15s ease;
}
.ph-dest:active { transform: scale(0.985); background: rgba(255, 255, 255, 0.09); }
.ph-dest--shut { opacity: 0.55; }
.ph-dest--shut:active { transform: none; }
.ph-dest--here {
cursor: default;
border-color: rgba(255, 46, 116, 0.45);
background: rgba(255, 46, 116, 0.09);
}
.ph-dest__photo {
position: relative;
width: 74px; height: 52px; flex-shrink: 0;
border-radius: 10px;
background-color: #1a2038;
background-size: cover; background-position: center;
box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07);
}
.ph-dest--shut .ph-dest__photo { filter: grayscale(0.8) brightness(0.62); }
.ph-dest__lock {
position: absolute; inset: 0;
display: flex; align-items: center; justify-content: center;
font-size: 19px;
background: rgba(6, 9, 20, 0.42);
border-radius: 10px;
}
.ph-dest__body { flex: 1; min-width: 0; }
.ph-dest__name {
font: 600 13px system-ui, sans-serif; color: #f2eefc;
white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ph-dest__meta {
font: 400 11px system-ui, sans-serif; color: rgba(255, 255, 255, 0.5);
margin-top: 2px;
white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ph-dest__chip {
flex-shrink: 0; align-self: center;
padding: 3px 8px; border-radius: 8px;
font: 700 9.5px system-ui, sans-serif; letter-spacing: 0.3px;
white-space: nowrap;
}
.ph-dest__chip--ok   { color: #06301c; background: var(--ph-green); }
.ph-dest__chip--shut { color: rgba(255,255,255,0.65); background: rgba(255,255,255,0.1); }
.ph-dest__chip--here { color: #fff; background: var(--ph-pink); }
.ph-sheet {
position: absolute; inset: 0; z-index: 40;
display: flex; align-items: flex-end; justify-content: center;
background: rgba(4, 6, 14, 0);
transition: background 0.2s ease;
}
.ph-sheet.open { background: rgba(4, 6, 14, 0.6); }
.ph-sheet__card {
width: 100%;
padding: 14px 16px 18px;
border-radius: 20px 20px 0 0;
background: var(--ph-glass-strong);
backdrop-filter: blur(16px);
border-top: 1px solid var(--ph-line);
box-shadow: 0 -14px 34px rgba(0, 0, 0, 0.5);
transform: translateY(100%);
transition: transform 0.26s cubic-bezier(.2,.9,.3,1.05);
}
.ph-sheet.open .ph-sheet__card { transform: translateY(0); }
.ph-sheet__photo {
width: 100%; height: 92px;
border-radius: 13px; margin-bottom: 11px;
background-color: #1a2038;
background-size: cover; background-position: center;
box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07);
}
.ph-sheet__title { font: 700 16px system-ui, sans-serif; color: #fff; }
.ph-sheet__sub {
font: 400 12px system-ui, sans-serif; color: rgba(255, 255, 255, 0.6);
margin-top: 4px; line-height: 1.4;
}
.ph-sheet__actions { display: flex; gap: 9px; margin-top: 14px; }
.ph-sheet__btn {
flex: 1; padding: 11px 12px;
border-radius: 12px; border: 1px solid var(--ph-line);
background: rgba(255, 255, 255, 0.07); color: #f2eefc;
font: 700 13px system-ui, sans-serif; cursor: pointer;
}
.ph-sheet__btn:active { transform: scale(0.97); }
.ph-sheet__btn--go {
border-color: transparent; color: #241d00;
background: linear-gradient(135deg, #ffd23f, #f0a000);
}